<div class="m-container scrollable-content" ng-controller="clientListController" >
    <div class="m-clientList" ng-show="path1=='clientList' && !path2" >
        <div class="clientContent" scroll-down2>
            <li ng-repeat="item in clientList" class="clientItem dfc ">
                <div class="itemTop dfr">
                    <div class="clientLeft dfc aic jsc">
                        <div class="cheadPic dfr aic jsc"><img
                                ng-src="{{item.avatar?item.avatar:defaultHeadPic}}" class=" w100"/></div>
                    </div>
                    <div class="clientRight dfc jssa aifs ">
                        <div class="baseInfo dfr aic jsfs">
                            <div><span class="c7f">姓名:&nbsp;</span><span>{{item.customerName}}</span></div>
                            <div  class="sex"><span class="c7f">性别:&nbsp;</span><span>{{item.sex}}</span></div>
                            <div><span class="c7f">年龄:&nbsp;</span><span>{{item.age}}</span></div>
                        </div>
                        <div class="clientTags dfr aib fww ">
                            <div class="userTag c7f f14">用户标签:&nbsp;</div>
                            <a class="clientTag  tag1 Tag " ng-show="item.tag">
                                {{item.tag}}
                            </a>
                        </div>
                        <div class="report">
                            <span class="c7f">基因报告:&nbsp;</span>
                            <a class="a-formal f14" ng-click="showPdfAct(item)">{{item.pdfUrl?item.testreport:'暂无'}}</a>
                        </div>
                    </div>
                </div>

                <ul class="itemBottom dfr jssa aic" >
                    <li class="btn_edit_ff" ui-sref="cRelationship({customerId:item.id,customerName:item.customerName})">TA的关系树</li>
                    <li class="btn_edit_ff" ng-click="reservation(item.id)" pointer-disable>预约TA</li>
                    <li class="btn_edit_ff" ng-click="editInfo(item)" ui-sref="clientList.info">编辑信息</li>
                    <li class="btn_edit_ff" ng-click="deleteClient(item.id)">删除</li>
                </ul>
            </li>
            <div class="nodata" ng-show="!clientList || clientList.length == 0">暂无数据</div>
        </div>
        <div class="sum dfr jsc aic cbmain" ng-click="addInfo()"  >
            <div class="f16 cff" >
                +新增关系
            </div>
        </div>
    </div >
    <div ng-include="'components/client/clientInfo/clientInfo.html'" ng-show="path1=='clientList' && path2=='info'"></div>
    <div ng-include="'components/client/pdfPreview.html'" ng-show="showPdfTag"></div>
</div>